package com.wunu.smartlock1

import android.app.Application
import com.clj.fastble.BleManager
import com.clj.fastble.bluetooth.BleBluetooth

/**
 * Created by peiwei on 2018/4/21.
 */
class App : Application() {
    init {
        instance = this
    }

    override fun onCreate() {
        super.onCreate()
        // 初始化蓝牙
        BleManager.getInstance().init(this)
        // 开启打印日志功能
        BleManager.getInstance().enableLog(true)
    }


    companion object {
        lateinit var instance: App
    }
}